package com.example.demo.service;

import com.example.demo.entity.Reservation;
import com.example.demo.entity.Stadium;
import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    User findUserId(User user);
    User findAUsers(String username);
    List<Stadium> findStadiumsByType(String type);
    int reserveStadiums(Reservation reservation);
    int findReservationId(Reservation reservation);
    List<Reservation> findReservationsByUsername(String username);
    String findUserByrid(int r_id);
    int deleteReservation(int r_id);
    int changePWD(String username, String pwd);
}
